<ExtensionModel>

	<Extension path = "/MonoDevelop/ProjectModel/MSBuildItemTypes">
		<DotNetProjectType 
			language="VBNet" 
			extension="vbproj" 
			guid="{F184B08F-C81C-45F6-A57F-5ABD9991F28F}" 
			import="$(MSBuildBinPath)\Microsoft.VisualBasic.targets"
			type="MonoDevelop.VBNetBinding.VBProject"
			resourceHandler="MonoDevelop.VBNetBinding.VBNetResourceIdBuilder"/>
	</Extension>

  	<Extension path = "/MonoDevelop/Ide/FileFilters">
		<FileFilter id = "VBNet"
			insertbefore = "AllFiles"
			_label = "VB.NET Files"
			extensions = "*.vb"/>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/FileTemplates">
		<FileTemplate id = "EmptyVBFile" resource = "EmptyVBFile.xft.xml"/>
		<FileTemplate id = "VBAssemblyInfo" resource = "AssemblyInfo.xft.xml"/>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/ProjectTemplates">
		<ProjectTemplate id = "MonoDevelop.VBNet.EmptyProject" resource = "EmptyVBProject.xpt.xml"/>
		<ProjectTemplate id = "MonoDevelop.VBNet.ConsoleProject" resource = "VBConsoleApplicationProject.xpt.xml"/>
	</Extension>
  
	<Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels/Build/General">
		<Condition id="ProjectTypeId" value="VBNet">
			<Panel id = "VBNetProjectOptionsPanel"
				_label = "General Options" 
				class = "MonoDevelop.VBNetBinding.ProjectOptionsPanel"/>
			<Panel id = "VBNetOutputOptionsPanel"
				_label = "Imports" 
				class = "MonoDevelop.VBNetBinding.ImportOptionsPanel"/>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels/Build/Compiler">
		<Condition id="ProjectTypeId" value="VBNet">
			<Panel id = "VBNetConfigurationOptionsPanel"
				_label = "Compiler Options" 
				class = "MonoDevelop.VBNetBinding.ConfigurationOptionsPanel"/>
		</Condition>
	</Extension>

	<Extension path = "/MonoDevelop/Core/StockIcons">
		<StockIcon stockid = "md-vb-file" icon = "md-file-source" size="Menu" />
	</Extension>
	
	<Extension path = "/MonoDevelop/Core/MimeTypes">
		<MimeType id="text/x-basic" _description="Visual Basic source code" icon="md-vb-file" isText="true" roslynName="Visual Basic" contentType="Basic">
			<File pattern="*.vb" />
		</MimeType>
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/LanguageBindings">
		<LanguageBinding id = "VBNet"
			extensions = ".vb"
			singleLineCommentTag = "'"
			codeDomType = "MonoDevelop.VBNetBinding.ImprovedCodeDomProvider" />
	</Extension>
  
	<Extension path = "/MonoDevelop/ProjectModel/SerializableClasses">
		<DataType class = "MonoDevelop.VBNetBinding.VBCompilerParameters" />
		<DataType class = "MonoDevelop.VBNetBinding.Import" />
	</Extension>

	<Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
		<Class fileExtensions = ".vb" class = "MonoDevelop.VBNet.VBNetTextEditorExtension" />
	</Extension>
	
	<Extension path = "/MonoDevelop/TypeSystem/Parser">
		<Parser class="MonoDevelop.VBNetBinding.TypeSystemParser" mimeType = "text/x-basic" />
	</Extension>

	<Module>
		<!-- The GTK# template should only be available if the GTK add-in is enabled -->
		<Dependencies>
			<Addin id="GtkCore" version="$(Version)" />
		</Dependencies>
		<Extension path = "/MonoDevelop/Ide/ProjectTemplates">
			<ProjectTemplate id = "MonoDevelop.VBNet.GtkSharp2Project" resource = "VBGtkSharp2Project.xpt.xml"/>
		</Extension>
	</Module>
</ExtensionModel>
